package top.sjydzq.www.service;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.sjydzq.www.bean.Category;

import java.util.List;

@Repository("CategoryDAO")
@Mapper
public interface CategoryService {
    public List<Category> selectAll();
    public Category selectById(int catId);
    public boolean add(String name);
    public void remove(int catId);
}
